/*Customer OSCC Styles*/

.coscc-margins h1, 
.coscc-margins h2, 
.coscc-margins h3, 
.coscc-margins h4, 
.coscc-margins h5,
.coscc-margins h6,
.coscc-margins p{
    margin: 0;
}  

.coscc-main{
    display: inline-block;
    position: relative;
    background-color: rgb(170,145,87);
    border:5px rgb(170,145,87) solid;
    border-radius: 10px;
    left: 4%;
    width: 60%;
    min-width: 400px;
}

.coscc-history{
    display: inline-block;
    position: absolute;
    background-color: rgb(170,145,87);
    border:5px rgba(170,145,87) solid;
    border-radius: 10px;
    right: 4%;
    width: 30%;
}

.coscc-history-selector{
    display: block;
    width: 85%;
    padding: 5px;
    margin: 10px auto;
}

.coscc-title{
    color: white;
    text-shadow: 0px 0px 6px black;
    text-align: center;
    font-weight: bolder;
    padding: 10px;
}

.coscc-heading{
    background-color:rgb(170,145,87);
    color: white;
    text-shadow: 0px 0px 6px black;
    text-align: center;
    font-weight: bolder;
    padding: 5px;
}

.coscc-main-table{
    width: 90%;
    margin: 10px auto 20px auto;
    background-color: white;
    border-collapse: separate;
    border-radius: 20px;
    border: 10px #D4C8AB solid;
}

/*.coscc-main-table tr th{
    background-color:rgb(170,145,87);
    color:white;
    font-weight:bold;
    text-align:center; 
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 10px 5px;
    border: 1px rgb(170,145,87) solid;
    overflow: hidden;
    word-break: normal;
}*/

.coscc-main-table .coscc-main-heading{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color:#D4C8AB;
    color:white;
    font-weight: bold;
    text-align:center; 
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 10px 5px;
    border-bottom: 4px #D4C8AB solid;
    overflow: hidden;
    word-break: normal;
    text-shadow: 0px 0px 6px black;
}

.coscc-main-table .coscc-sub-btn-bg{
    padding: 0;
    background-color:rgb(170,145,87);
    color:white;
    font-weight:bold;
    text-align:center; 
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 10px 5px;
    border-top: 4px #D4C8AB solid;
    overflow: hidden;
    word-break: normal;

}

.coscc-main-table .coscc-sub-btn-bg:first-of-type{
    border-bottom-left-radius: 10px;
}

.coscc-main-table .coscc-sub-btn-bg:last-of-type{
    border-bottom-right-radius: 10px;
}


.coscc-main-table tr > td{
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px 5px;
    overflow: hidden;
    word-break: normal;
    width: 50%;
}

.coscc-main-table tr:first-of-type td{
    font-family: Arial, sans-serif;
    overflow: hidden;
    word-break: normal;
}

/*.coscc-main-table tr:last-of-type td{
    font-family: Arial, sans-serif;
    overflow: hidden;
    word-break: normal;
}*/

.coscc-main-table .coscc-field{
    text-align: center;
    background-color:#EEE9DD;
}

.coscc-main-table .coscc-text-field{
    border-collapse: collapse;
    text-align: center;
    background-color: white;
    border: 2px #EEE9DD solid;
    font-weight: bold;
}

.coscc-user{
    font-weight: bolder;
    color: #ffcc67;
    text-shadow: 0px 0px 6px black;
}

.coscc-denied{
    background-color:orange;
    border-radius: 5px;
    color: white;
    text-shadow: 0px 0px 6px black;
    text-align: center;
    font-weight: bolder;
    padding: 10px;
}

.coscc-denied p{
    font-size: 14px;
    margin: 5px;
}

.coscc-sub-btn{
    margin: 5px auto;
    width: 98%;
    background-color: #D4C8AB;
    border: 1px white solid;
    border-radius: 10px;
    padding: 10px;
    color: white;
    font-size: 16px;
    font-weight: bolder;
    text-shadow: 0px 0px 6px black;
    transition: 0.2s ease-in-out;
}

.coscc-sub-btn:hover{
    background-color: green;
}
.coscc-clear-btn{
    margin: 5px auto;
    width: 98%;
    background-color: #D4C8AB;
    border: 1px white solid;
    border-radius: 10px;
    padding: 10px;
    color: white;
    font-size: 16px;
    font-weight: bolder;
    text-shadow: 0px 0px 6px black;
    transition: 0.2s ease-in-out;
}
.coscc-clear-btn:hover{
    background-color: green;
}

.coscc-view-btn{
    transform: translateX(6%);
    margin: 0 auto 10px auto;
    width: 90%;
    background-color: #D4C8AB;
    border: 1px white solid;
    border-radius: 10px;
    padding: 10px;
    color: white;
    font-size: 16px;
    font-weight: bolder;
    text-shadow: 0px 0px 6px black;
    transition: 0.2s ease-in-out;
}

.coscc-view-btn:hover{
    border: 3px black solid;
}

.coscc-business-sel{
    border-radius: 10px;
    width: 300px;
    text-align: center;
    padding: 5px;
}

.coscc-currency-sel{
    text-align: center;
}

.coscc-currency-sel > div{
    display: inline-grid;
    width: 45%;
    justify-content: stretch;
}

.coscc-symb{
    display: grid;
    font-size: 30px;
    font-weight: bolder;
    margin: 5px auto;
    border: 1px black solid;
    padding: 0px 10px;
    border-radius: 5px;
    transition: 0.1s linear;
}

.coscc-symb:hover{
    background-color: #D4C8AB;
    transition: 0.1s linear;
}

.coscc-symb:focus{
    background-color: green;
    color:white;
}

.coscc-curr-label{
    display: grid;
    background-color: white;
    margin: 1px;
    padding: 4px 10px;
    width: 100%;
    font-style: normal;
    font-weight: bold;
    border: 2px rgb(170,145,87) solid;
    border-radius: 5px;
    font-family: system-ui;
    transition: 0.1s linear;
}

.coscc-curr-label:hover{
    background-color: #D4C8AB;
}

.coscc-curr-label:active{
    background-color: green;
    color: white;
}

.coscc-inputs input[type="text"] {
    font-size:13px;
}

.coscc-label, 
.coscc-cc-label,
.coscc-cc-listlabels{  
    display: grid;
    background-color: white;
    margin: 1px;
    padding: 4px 10px;
    font-style: normal;
    font-weight: bold;
    text-align: right;
    border: 2px rgb(170,145,87) solid;
    border-radius: 5px;
    font-family: system-ui;
    float: right;
    width: 100%;
    cursor: pointer;
    transition: 0.1s;
}

.coscc-label:hover,
.coscc-cc-label:hover{
    background-color: #EEE9DD;
    transition: 0.1s;
}

.coscc-label:focus,
.coscc-cc-label:focus{
    background-color: rgb(170,145,87);
    color: white;
}

.coscc-label:focus-visible,
.coscc-cc-label:focus-visible{
    border: 2px rgb(170,145,87) solid;
}

.coscc-label:disabled,
.coscc-cc-label:disabled,
.coscc-cc-listlabels:disabled{
    background-color: #dfdfdf;
    cursor: not-allowed;
}

.coscc-table-variantA{
    margin: 0 auto;
    table-layout: fixed;
    width: 100%;
}

.coscc-table-variantA td:first-of-type{
    width: 50%;
}

.coscc-table-variantA td:last-of-type{
    width: 15%;
}


@media only screen and (max-width: 940px) {
    .coscc-history{
        display: inline-block;
        position: relative;
        width: 400px;
        left: 4%;
        margin: 0 0 30px 0;
    }
}




























/*oscc styles */
.tg .tg-achz{background-color:#ffcc67;vertical-align:top}
.tg .tg-e3zv{font-weight:bold}
.tg .tg-9hbo{font-weight:bold;vertical-align:top}
.tg .tg-yw4l{vertical-align:top}
.tg .tg-yw42{vertical-align:top; background-color:#9e1b20;}
.tg .tg-xzp9{background-color:#ffcc67;color:#333333;vertical-align:top}
.tg .tg-45bf{background-color:#ffcb2f;vertical-align:top}

.oscc-oscc  input[type="text"], .cust_oscc-customer_oscc input[type="text"] {
  font-size:13px;
}

.oscc-oscc  #labelDate, .cust_oscc-customer_oscc #labelDate {
  width:200px
}


.red-bg{
    background-color: #9e1b20;
    border: none;
    color: white;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}


/*customerOSCC + OSCC helper styles*/

.green{
    color: green;
}

.blue-cadet{
    color: cadetblue;
}

.poso{
    width: 70px;
    text-align: center;
}